package com.alex.core.domain.business;

import com.ddcx.domain.TreeNode;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 商户模块返回类型
 * @author cb
 * @date 2019/10/29 9:10
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TenantDTO  extends TreeNode {
    /**
     * 归属范围名称
     */
    private String tenantOwner;
    /**
     * 归属范围id
     */
    private String parentTenantIds;

    @ApiModelProperty(value = "租户名称")
    private String tenantName;

    @ApiModelProperty(value = "联系人")
    private String contact;

    @ApiModelProperty(value = "国家")
    private String country;

    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "县/区")
    private String district;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "手机")
    private String mobile;

    @ApiModelProperty(value = "支付渠道: 0支付宝 1银行卡")
    private Integer payChannel;

    @ApiModelProperty(value = "支付渠道姓名")
    private String payName;

    @ApiModelProperty(value = "支付渠道账号")
    private String payAccount;

    @ApiModelProperty(value = "银联号")
    private String bankCode;

    @ApiModelProperty(value = "开户银行名称")
    private String bankName;

    @ApiModelProperty(value = "余额（单位：分）截止到当天凌晨0点之前的余额")
    private Integer balance;

    @ApiModelProperty(value = "状态: 0 启用 1停用")
    private Integer status;

    @ApiModelProperty(value = "设备总数")
    private Integer deviceNumber;

    @ApiModelProperty(value = "线上卡余额值")
    private Integer cardBalance;
}
